﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Ylh.IDAL
{
    public interface ICompetence
    {
        /// <summary>
        /// 根据编号获取权限信息
        /// </summary>
        /// <param name="ConStr"></param>
        /// <param name="ID">编号</param>
        /// <param name="IsParent">指定编号是否是父节点编号</param>
        /// <returns></returns>
        DataTable GetCompetenceByID(string ConStr, decimal ID, bool? IsParent);

        /// <summary>
        /// 系统管理员专用
        /// </summary>
        /// <param name="ConStr"></param>
        /// <returns></returns>
        DataTable GetCompetenceByCode(string ConStr);
        
    }
}
